<div class="onerow">
	<div id="nav" class="col12">
		<a class="toggleMenu white" href="#"><i class="icon-list icon-large"></i>Menu</a>	
		<ul class="nav">
			<?php foreach ($nav as $item) { ?>
				<li>
					<a href="<?=$item['link']?>"><i class="<?=$item['icone']?>"></i><?=$item['nome']?></a>
					<?php if(is_array($item['subNav'])) { ?>
						<ul>
						<?php foreach ($item['subNav'] as $subItem) { ?>
							<li>
								<a href="<?=$subItem['link']?>"><i class="<?=$subItem['icone']?>"></i><?=$subItem['nome']?></a>
								<?php if(is_array($subItem['subSubNav'])) { ?>
									<ul>
										<li>
											<a href="<?=$subItem['subSubNav']['link']?>"><i class="<?=$subItem['subSubNav']['icone']?>"></i><?=$subItem['subSubNav']['nome']?></a>
										</li>
									</ul>
								<?php } ?>
							</li>
						<?php } ?>
						</ul>
					<?php } ?>
				</li>
			<?php } ?>
		</ul>		
	</div>
</div>